import Vuex from 'vuex'
import Vue from 'vue'

Vue.use(Vuex)

import state from '../store/state.js'
// import actions from '../store/actions.js'
import mutations from '../store/mutations.js'
// import getters from '../store/getters.js'
import column from '../store/modules/column.js'
import detail from '../store/modules/detail.js'
import follow from '../store/modules/follow.js'
import home from '../store/modules/home.js'
import user from '../store/modules/user.js'
import idea from '../store/modules/idea.js'
import now from '../store/modules/now.js'
import question from '../store/modules/question.js'
import life from '../store/modules/life.js'
import economic from '../store/modules/economic.js'
import video from '../store/modules/video.js'

let store = new Vuex.Store({
	state,
	// actions,
	mutations,
	// getters
	modules:{
		column,detail,follow,home,user,idea,now,question,life,economic,video
	}
})

export default store
